
def exSum(n,m):
    if n%(2*m) == 0:
        return n*m/2

n,m = map(long, input().split())
print(exSum(n,m))